import {defineStore} from 'pinia'


export const chatCache = defineStore('chatCache', {
    state: () => {
        return {
            "requestId": -1
        }
    }
});

export const systemInfo = defineStore('systemInfo', {
    state: () => {
        return {
            displayMode: 1,
            requestId: -1
        }
    }
})

export const userInfo = defineStore('userInfo', {
    state: () => {
        return {
            avatarUrl: 'https://cube.elemecdn.com/0/88/03b0d39583f48206768a7534e55bcpng.png',
            userId: 1,
            userName: "系统管理员",
            language: "zh"
        }
    }
})